//
//  Util.h
//  HYTest
//
//  Created by 刘林欣 on 16/7/23.
//  Copyright © 2016年 刘林欣. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Util : NSObject

+ (float)curSysVersion;
+ (nonnull UIWindow*)getWindow;
+ (nonnull UIViewController*)getRootViewController;
// 调用该方法会直接显示弹出框
+ (nonnull UIAlertController*)showNewAlert:(nonnull NSString*)title content:(nonnull NSString*)content okHandler:(void (^ __nullable)( UIAlertAction* _Nullable  action))okHandler cancelHandler:(void (^ __nullable)( UIAlertAction* _Nullable  action))cancelHandler;

@end
